/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/14.
	 */
	var Step1 = __webpack_require__(36);
	var Result = __webpack_require__(38);
	var Root = React.createClass({displayName: "Root",
	    getDefaultProps:function(){
	        return{
	            result:PageDM.resultDate
	        }
	    },
	    componentDidMount: function(){
	        var _this = this;
	        this.refs.step2.style.display = 'none';
	        UEventHub.emit("pageLoad","hello world!");
	        UEventHub.on('showResult',function (bool,result) {
	            if(bool){
	                _this.refs.step1.style.display = "none";
	                _this.refs.step2.style.display = "block";
	                PageDM.resultDate.setValue(result)
	            }else{
	                _this.refs.step1.style.display = "block";
	                _this.refs.step2.style.display = "none";
	            }

	        })
	    },
	    render: function () {
	        var PageDM = window.PageDM;

	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "header"}, 
	                    React.createElement("div", {className: "top-bar fc-light"}, 
	                        React.createElement("div", {className: "container"}, 
	                            React.createElement("span", null, "服务热线：0816-2373017"), 
	                            React.createElement("span", null, "服务时间：工作日 9:00-18:00"), 
	                        React.createElement("span", {className: "nav-right"}, 
	                            React.createElement("a", {href: "登录.html"}, "登录"), 
	                            React.createElement("a", {href: "注册.html"}, "注册"), 
	                            React.createElement("a", {href: "../帮助中心/平台介绍.html"}, "帮助中心"), 
	                            React.createElement("a", {href: "../index.html"}, "返回绵阳商业银行")
	                        )
	                        )
	                    ), 
	                    React.createElement("div", {className: "header-nav"}, 
	                        React.createElement("div", {className: "container"}, 
	                            React.createElement("div", {className: "logo f-left"}, 
	                                React.createElement("a", {href: "../index.html"}, 
	                                    React.createElement("img", {src: "../images/logo.jpg", alt: ""})
	                                ), 
	                                React.createElement("a", {href: "../index.html"}, 
	                                    React.createElement("img", {src: "../images/logoe.jpg", alt: ""})
	                                )
	                            ), 
	                            React.createElement("div", {className: "nav f-right"}, 
	                                React.createElement("ul", {className: "clearfix"}, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../index.html"}, "首页")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../我要投资.html"}, "我要投资")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../我要借款.html"}, "我要借款")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../账户中心/我的账户.html"}, "我的账户"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "clear"})
	                        ), 
	                        React.createElement("div", {className: "shadow"})
	                    )
	                ), 

	                React.createElement("div", {className: "container", ref: "container"}, 
	                    React.createElement("div", {ref: "step1"}, React.createElement(Step1, null)), 
	                    React.createElement("div", {ref: "step2"}, React.createElement(Result, {data: this.props.result, url: PageDM.URL}))
	                ), 

	                React.createElement("div", {className: "footer"}, 
	                    React.createElement("div", {className: "container"}, 
	                        React.createElement("div", {className: "footer-logo f-left"}, 
	                            React.createElement("p", {className: "logo-foot"}, React.createElement("img", {src: "../images/foot-logo.png", alt: ""})), 
	                            React.createElement("p", {className: "txt"}, 
	                                "2005－2013 绵阳市商业银行股份有限公司", 
	                                React.createElement("a", {href: "http://www.miitbeian.gov.cn", target: "_blank"}, "粤ICP备11013283123号")
	                            )
	                        ), 
	                        React.createElement("div", {className: "footer-nav f-right"}, 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "关于我们"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/平台介绍.html"}, "平台介绍")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/名词解释.html"}, "名词解释")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/联系我们.html"}, "联系我们")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/服务协议.html"}, "服务协议"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "安全保障"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "项目安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "资金安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "信息安全")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/安全保障.html"}, "账户安全"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col"}, 
	                                React.createElement("h3", null, "帮助中心"), 
	                                React.createElement("ul", null, 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/投资操作指引.html"}, "投资指引")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/融资操作指引.html"}, "融资指引")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "../帮助中心/平台公告.html"}, "平台公告")), 
	                                    React.createElement("li", null, React.createElement("a", {href: "javascript:;"}, "常见问题"))
	                                )
	                            ), 
	                            React.createElement("div", {className: "col col-service"}, 
	                                React.createElement("p", null, "客服专线", React.createElement("br", null), "0816-2373017"), 
	                                React.createElement("p", null, "服务时间", React.createElement("br", null), "工作日9:00 - 18:00")
	                            )
	                        ), 
	                        React.createElement("div", {className: "clear"})
	                    )
	                )
	            )
	        )
	    }
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('main'));

/***/ },
/* 1 */,
/* 2 */,
/* 3 */
/***/ function(module, exports) {

	var Button = React.createClass({displayName: "Button",
		config:{
	        id:""
	    },
		render: function() {
			var customClassNameArr=this.props.className?this.props.className.split(' '):'';
	        var customClassName ='ucs-btn';
	        if(customClassNameArr.length>0){
	            for(var i=0;i<customClassNameArr.length;i++){
	                customClassName=customClassNameArr[i]+' '+customClassName;
	            }
	        }
			this.props.className = customClassName;
			var id = this.props.id?this.props.id:'';
			if(this.props.href){
				return React.createElement("a", {id: id, onclick: this.props.onclick, className: this.props.className, href: this.props.href}, this.props.value)
			}else{
				return React.createElement("button", {id: id, onclick: this.props.onclick, className: this.props.className}, this.props.value)
			}
		}
	})
	module.exports = Button;

/***/ },
/* 4 */
/***/ function(module, exports) {

	var Input =  React.createClass({displayName: "Input",
		getDefaultProps:function(){
			return {
				className:'ucs-input',
				dmbind:'',
				placeholder:"",
				onFocus:function(){},
				onBlur:function(){}
			};
		},
		render:function(){
			return React.createElement("input", {ref: "input", type: "text", className: this.props.className, dmbind: this.props.dmbind, placeholder: this.props.placeholder, onfocus: this.props.onFocus, onblur: this.props.onBlur})
		}
	})
	module.exports = Input;

/***/ },
/* 5 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/1.
	 */
	var Label = __webpack_require__(6);

	var FormItem = React.createClass({displayName: "FormItem",
	    getDefaultProps:function(){
	        return{
	            id:"",
	            label:"",
	            dmbind:"",
	            className:"",
	            correctMsg:''
	        }
	    },
	    componentDidMount:function(){

	    },
	    getInitialState:function(){
	        return {
	            tipHide:true
	        }
	    },
	    render:function(){
	        var _udmid = this.props.dmbind;
	        var _this = this;
	        UEventHub.on(_udmid + UI_EVENT_CONST.ONVALIDATE_EVENT,function(msg){
	            var tipNode = this.refs[_udmid],
	                tipInner,
	                _msg = msg;
	            if(!_msg){
	                tipInner = React.createElement("div", null, React.createElement("i", {className: "iconfont icon-correct"}), this.props.correctMsg);
	                tipNode.className = "ucs-form-explain success";
	            }else{
	                tipInner = React.createElement("div", null, React.createElement("i", {className: "iconfont icon-error"}), React.createElement("span", null, _msg));
	                tipNode.className = "ucs-form-explain";
	            }
	            tipNode.innerHTML = tipInner.innerHTML;
	        }.bind(this));
	        return(
	            React.createElement("div", {className: "ucs-form-group " + this.props.className, id: this.props.id}, 
	                React.createElement(Label, {value: this.props.label}), 
	                
	                    this.props.children.map(function(item,idx){
	                        return React.cloneElement(item,{onFocus:function(){
	                            _this.refs[_this.props.dmbind].className = "ucs-form-explain hide";
	                        }});
	                    }), 
	                
	                React.createElement("div", {className: "ucs-form-explain", ref: this.props.dmbind})
	            )
	        )
	    }
	});

	module.exports = FormItem;

/***/ },
/* 6 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/24.
	 */
	var Label = React.createClass({displayName: "Label",
	    getDefaultProps:function(){
	        return {
	            id:"",
	            setFor:"",
	            value:"这是Label",
	            className:""
	        }
	    },
	    render:function(){
	        return(
	            React.createElement("label", {id: this.props.id, For: this.props.setFor, className: "ucs-label "+this.props.className}, this.props.value)
	        )
	    }
	});
	module.exports = Label;

/***/ },
/* 7 */
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/3/23.
	 */

	var Breadcrumb = React.createClass({displayName: "Breadcrumb",
	    getDefaultProps: function(){
	        return{
	            separator:'>'   //分隔符
	        }
	    },
	    render: function(){
	        var that = this;
	        var len = this.props.children.length;
	        return (
	            React.createElement("div", {className: "ucs-breadcrumb"}, 
	                
	                    this.props.children.map(function (child,index) {
	                        if(index == len-1){
	                            return React.createElement("span", {className: "ucs-breadcrumb-link-last"}, child);
	                        }else{
	                            return React.createElement("span", null, child, React.createElement("span", {className: "ucs-breadcrumb-separator"}, that.props.separator));
	                        }
	                    })
	                
	            )
	        )
	    }
	});
	Breadcrumb.Item = React.createClass({displayName: "Breadcrumb.Item",
	    render: function () {
	        return (
	            this.props.href ?
	                React.createElement("a", {href: this.props.href}, this.props.children) :
	                React.createElement("span", null, this.props.children)
	        )
	    }
	});

	module.exports = Breadcrumb;

/***/ },
/* 8 */
/***/ function(module, exports) {

	var Checkbox = React.createClass({displayName: "Checkbox",
	    getDefaultProps:function(){
	        return{
	            id: "",
	            value: ""
	        }
	    },
	    handler: function (e) {
	        var _input = e.target || e.srcElement,
	            _checked = _input.checked;
	        this.props.onclick && this.props.onclick(_checked);
	    },
	    render: function () {
	        var checked = this.props.checked ? true : false;
	        var className = this.props.className;
	        var text = this.props.text ? this.props.text : '';
	        return (
	            React.createElement("label", {className: className ? "ucs-checkbox " + className : "ucs-checkbox"}, 
	                React.createElement("input", {type: "checkbox", checked: checked, id: this.props.id, value: this.props.value, className: "ucs-checkbox-input", 
	                       onclick: this.handler.bind(this)}), 
	                React.createElement("span", {className: "ucs-checkbox-text"}, text)
	            )
	        )
	    }
	});

	module.exports = Checkbox;




/***/ },
/* 9 */,
/* 10 */,
/* 11 */,
/* 12 */,
/* 13 */,
/* 14 */,
/* 15 */,
/* 16 */,
/* 17 */,
/* 18 */,
/* 19 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/20.
	 */
	var HyperLink = React.createClass({displayName: "HyperLink",
	    getDefaultProps:function(){
	        return {
	            "id":"",
	            "className":"",
	            "href":"javascript:void(0)",
	            "text":""
	        }
	    },
	    render:function(){
	        return (
	            React.createElement("a", {id: this.props.id, className: "ucs-hyper-link "+this.props.className, href: this.props.href, onclick: this.props.onclick}, this.props.text)
	        )
	    }
	});

	module.exports = HyperLink;

/***/ },
/* 20 */
/***/ function(module, exports) {

	
	var InputNumber = React.createClass({displayName: "InputNumber",
	    getDefaultProps: function () {
	        return {
	            min: "",
	            max: "",
	            value: "",
	            step: "",
	            onChange: "",
	            disabled: "",
	            className: "",
	            id: ""
	        }
	    },
	    getInitialState: function () {
	        return {
	            value: this.props.value,
	            classNameAdd: "",
	            classNameLess: ""
	        }
	    },
	    componentDidMount: function(){
	        this.refs.inputnumber.value=this.props.value;
	    },
	    handelAdd: function () {
	        var v = parseInt(this.refs.inputnumber.value) + parseInt(this.props.step);
	        this.refs.less.className = "less";
	        this.refs.inputnumber.value = v;
	        if (v >= parseInt(this.props.max)) {
	            this.refs.add.className = "add disabled";
	            this.refs.inputnumber.value = this.props.max;
	        }
	        this.props.onChange ? this.props.onChange(this.refs.inputnumber.value) : "";
	    },
	    handelLess: function () {
	        var v = parseInt(this.refs.inputnumber.value) - parseInt(this.props.step);
	        this.refs.add.className = "add";
	        this.refs.inputnumber.value = v;
	        if (v <= parseInt(this.props.min)) {
	            this.refs.less.className = "less disabled";
	            this.refs.inputnumber.value = this.props.min;
	        }
	        this.props.onChange ? this.props.onChange(this.refs.inputnumber.value) : "";
	    },
	    handleChange: function (e) {
	        var v = e.target.value;
	        this.refs.less.className = "less";
	        this.refs.add.className = "add";
	        if (v > parseInt(this.props.max)) {
	            v = this.props.max;
	            this.refs.add.className = "add disabled";
	        } else if (v < parseInt(this.props.min)) {
	            v = this.props.min;
	            this.refs.less.className = "less disabled";
	        }
	        if (!isNaN(v)) {
	            this.refs.inputnumber.value=v;
	        } else {
	            this.refs.inputnumber.value = "";
	        }

	        this.props.onChange ? this.props.onChange(this.refs.inputnumber.value) : "";
	    },
	    getValue: function(){
	        return this.refs.inputnumber.value;
	    },
	    render: function () {
	        return (
	            React.createElement("div", {className: this.props.className?"ucs-input-number "+this.props.className:"ucs-input-number", id: this.props.id}, 
	                React.createElement("a", {className: this.state.classNameLess?"less "+this.state.classNameLess:"less", onclick: this.handelLess.bind(this), ref: "less"}), 
	                React.createElement("input", {onchange: this.handleChange.bind(this), className: "ucs-input", ref: "inputnumber"}), 
	                React.createElement("a", {className: this.state.classNameAdd?"add "+this.state.classNameAdd:"add", onclick: this.handelAdd.bind(this), ref: "add"})
	            )
	        )
	    }
	});
	module.exports = InputNumber;


/***/ },
/* 21 */,
/* 22 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/21.
	 */
	var Password = React.createClass({displayName: "Password",
	    getDefaultProps:function(){
	        return{
	            "id":"",
	            "value":"",
	            "className":"",
	            "dmbind":"",
	            "placeholder":"请输入密码",
	            "onkeypress":"",
	            onFocus:function(){}
	        }
	    },
	    _getNode:function(nid){
	        var _nodes = document.getElementsByTagName('div'),
	            _getNode;
	        for(var i in _nodes){
	            if(_nodes[i].refs == nid){
	                _getNode = _nodes[i];
	            }
	        }
	        return _getNode;
	    },
	    _handle:function(e){
	        var _nodeSpan = e.target || e.srcElement,
	            _node = _nodeSpan.parentNode,
	            _nodeInput = _node.firstChild;
	        if(_nodeSpan.className == "ucs-placeholder"){
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        _nodeInput.focus();
	    },
	    _placeholder:function(_this){
	        if (!('placeholder' in document.createElement('input'))){
	            return (
	                React.createElement("span", {className: "ucs-placeholder", onclick: _this._handle}, _this.props.placeholder)
	            );
	        }else{
	            return "";
	        }
	    },
	    _onBlur:function(e){
	        if (!('placeholder' in document.createElement('input'))){
	            var _nodeInput = e.target || e.srcElement,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if(!_nodeInput.value){
	                _nodeSpan.className = "ucs-placeholder";
	            }
	        }else{
	            return;
	        }
	    },
	    render:function(){
	        var _this = this;
	        return (
	            React.createElement("div", {className: "ucs-input-control"}, 
	                React.createElement("input", {
	                    id: this.props.id, 
	                    className: "ucs-password " + this.props.className, 
	                    type: "password", 
	                    value: this.props.value, 
	                    dmbind: this.props.dmbind, 
	                    placeholder: this.props.placeholder, 
	                    onkeypress: this.props.onkeypress, 
	                    onfocus: this.props.onFocus, 
	                    onblur: this._onBlur}), 
	                this._placeholder(_this)
	            )
	        )
	    }
	});

	module.exports = Password;

/***/ },
/* 23 */,
/* 24 */,
/* 25 */,
/* 26 */
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/24.
	 */
	var closeOpen = function(){
	    var _open = document.getElementsByClassName('open')[0];
	    if(_open){
	        var _classArr = _open.className.split(" ");
	        for(var i in _classArr){
	            if(_classArr[i] == "open"){
	                _classArr.splice(i,1);
	            }
	        }
	        var _className = _classArr.join(" ");
	        _open.className = _className;
	    }
	}
	window.onclick = function(){
	    closeOpen();
	};

	var SelectDropDown = React.createClass({displayName: "SelectDropDown",
	    getDefaultProps: function () {
	        return {
	            id:"",
	            value: "",//默认初始值
	            className: "",
	            type: "", //三种类型，bank,search
	            showNum: "",
	            options: "",
	            defaultValue: "请选择",
	            searchButton: "",
	            placeholder: "",
	            inputChange: "",//搜索时输入框回调
	            buttonClick: "",//搜索时按钮回调
	            _dmid: new UDM({}).dmbind /*为每个 select-dropdown 创建udmid*/
	        }
	    },
	    getInitialState:function(){
	        return{
	            currentIdx:this.props.defaultValue,
	            currentValue:0,
	            _className:this.props.className ? "ucs-select-dropdown "+ this.props.className : "ucs-select-dropdown"
	        }
	    },
	    _toggle:function(ref,e){
	        var _current = this.refs[this.props._dmid];

	        if(e && e.stopPropagation){
	            //因此它支持W3C的stopPropagation()方法
	            e.stopPropagation();
	        }else{
	            //否则我们使用ie的方法来取消事件冒泡
	            window.event.cancelBubble = true;
	        }
	        this.setState({
	            _className:this._toggleOpen(_current.className)
	        })
	    },
	    _toggleOpen: function(_class){
	        var _classList = _class.split(" ");
	        var j = 0;
	        for(var i=0; i<_classList.length;i++){
	            if(_classList[i] == "open"){
	                j = i;
	            }
	        }
	        if(j){
	            _classList.splice(j,1);
	        }else{
	            _classList.push('open');
	        }
	        _classList = _classList.join(" ");
	        return _classList;
	    },
	    _select:function(idx,val,ref){
	        var _node = this.refs[ref],
	            _input = this.refs[ref + '-control'];
	        _node.className = this._toggleOpen(_node.className);
	        _input.innerHTML = this.props.options[idx].option;

	        this.state.currentIdx = idx;
	        if(val.value){
	            this.state.currentValue = val.value;
	        }else{
	            this.state.currentValue = idx;
	        }

	        var _v = this.getCurrentSelect();
	        this.props.onChange ? this.props.onChange(_v) : "";
	    },
	    getCurrentSelect:function(){
	        return {
	            index:Number(this.state.currentIdx),
	            value:this.state.currentValue
	        }
	    },
	    /*下拉选项列表*/
	    selectList: function(){
	        var _lis = [],_that = this;
	        for(var i=0; i<this.props.options.length;i++){
	            (function(j,val,ref){
	                _lis.push(
	                    React.createElement("li", {onclick: _that._select.bind(_that,j,val,ref)}, 
	                        _that.props.options[j].option
	                    )
	                );
	            })(i,this.props.options[i],this.props._dmid);
	        }
	        return React.createElement("ul", null, _lis)
	    },
	    render:function(){
	        /*判断defaultValue是否是数字，“是”则代表默认显示第几个选项*/
	        var defaultValue = this.state.currentIdx,
	            _dom;
	        if(typeof defaultValue == "number"){
	            _dom = this.props.options[defaultValue].option;
	        }else{
	            _dom = defaultValue;
	        }

	        return (
	            React.createElement("div", {className: this.state._className, ref: this.props._dmid}, 
	                React.createElement("div", {className: "ucs-select-control", ref: this.props._dmid + '-select-click', onclick: this._toggle.bind(this,this.props._dmid + '-select-click')}, 
	                    React.createElement("div", {className: "ucs-input", ref: this.props._dmid + '-control'}, _dom), 
	                    React.createElement("span", {className: "ucs-icon"})
	                ), 
	                React.createElement("div", {className: "ucs-dropdown"}, 
	                    React.createElement("div", {className: "ucs-dropdown-border"}, 
	                         this.selectList.bind(this)() 
	                    )
	                )
	            )
	        )
	    }
	});
	module.exports = SelectDropDown;

/***/ },
/* 27 */,
/* 28 */,
/* 29 */,
/* 30 */,
/* 31 */,
/* 32 */,
/* 33 */,
/* 34 */,
/* 35 */,
/* 36 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/4/10.
	 */
	var Breadcrumb = __webpack_require__(7);
	var InputNumber = __webpack_require__(20);
	var BackAccount = __webpack_require__(37);
	var Step1 = React.createClass({displayName: "Step1",
	    getInitialState: function () {
	        return {
	            inputNum:window.PageDM.inputNum.value,
	            PayBankCards:window.PageDM.PayBankCards.value,
	            userInfo:window.PageDM.userInfo.value,
	            investSum:0//预期收益
	        }
	    },
	    investSumChangeHandler: function (v) {
	        var v = Number(v);
	        var val = Math.round((v * this.state.inputNum.FinanceDetail.Interest / 100 / 360 * this.state.inputNum.FinanceDetail.Duration) * 100) / 100;
	        window.PageDM.inputNum.value.FinanceDetail.PartsCount = v;
	        this.refs.expectedReturn.innerHTML = val;
	    },
	    componentDidMount: function () {
	        var _this = this;
	        var PageDM = window.PageDM;

	        //确认投资金额
	        UEventHub.on(PageDM.inputNum.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function (v) {
	            _this.setState({
	                inputNum:v
	            });
	            _this.investSumChangeHandler(v.FinanceDetail.PartsCount);//初始预期收益
	        });
	    },
	    render: function () {
	        var _this = this;

	        var options = [],BList = _this.state.PayBankCards;
	        for (var i=0; i< BList.BankAccountList.length;i++) {
	            var item = BList.BankAccountList[i];
	            options.push({
	                option: "<div><span class='bank-logo " + item.BankIconCss + "'></span><b>" + item.AccountNoShortHide + "</b></div>",
	                value: item.BankCode
	            });
	        }
	        var defaultValue = BList.SelectIndex - 1;

	        PageDM.PayBankCards.value.UserBankAccountId = BList.BankAccountList[defaultValue].BankCode;    //初始银行卡id

	        return (
	            React.createElement("div", null, 
	                React.createElement(Breadcrumb, {separator: ">"}, 
	                    React.createElement(Breadcrumb.Item, {href: PageDM.URL.home}, "首页"), 
	                    React.createElement(Breadcrumb.Item, {href: PageDM.URL.invest}, "我要投资"), 
	                    React.createElement(Breadcrumb.Item, null, "确认投资金额")
	                ), 
	                React.createElement("div", {className: "project-ok"}, 
	                    React.createElement("div", {className: "title"}, React.createElement("b", null), "确认投资金额", React.createElement("b", null)), 
	                    React.createElement("div", {className: "confirm-box"}, 
	                        React.createElement("h3", null, this.state.inputNum.FinanceDetail.ProjectName), 
	                        React.createElement("table", {className: "table-1"}, 
	                            React.createElement("tbody", null, 
	                            React.createElement("tr", null, 
	                                React.createElement("th", {width: "500"}, "投标总额"), 
	                                React.createElement("th", null, "预期收益"), 
	                                React.createElement("th", null, "到期回款日")
	                            ), 
	                            React.createElement("tr", null, 
	                                React.createElement("td", null, 
	                                    React.createElement("div", null, 
	                                        React.createElement("span", null, 
	                                            React.createElement(InputNumber, {step: this.state.inputNum.FinanceDetail.AppendBuyAmount, 
	                                                         max: this.state.inputNum.FinanceDetail.EachPartAmount * this.state.inputNum.FinanceDetail.MaxInvestPartsCount, 
	                                                         min: this.state.inputNum.FinanceDetail.EachPartAmount * this.state.inputNum.FinanceDetail.MinInvestPartsCount, 
	                                                         value: this.state.inputNum.FinanceDetail.PartsCount, 
	                                                         onChange: _this.investSumChangeHandler.bind(_this)})
	                                        ), 
	                                        React.createElement("span", null, "元")
	                                    ), 
	                                    React.createElement("p", {className: "fc-main warm"}, this.state.inputNum.FinanceDetail.InvestPromptText)
	                                ), 
	                                React.createElement("td", null, React.createElement("b", {className: "fc-main fs20", ref: "expectedReturn"}, Math.round((this.state.inputNum.FinanceDetail.PartsCount * this.state.inputNum.FinanceDetail.Interest / 100 / 360 * this.state.inputNum.FinanceDetail.Duration) * 100) / 100), " 元"), 
	                                React.createElement("td", null, this.state.inputNum.FinanceDetail.RepayBegin)
	                            )
	                            )
	                        )
	                    ), 
	                    React.createElement(BackAccount, {url: PageDM.URL, PayBankCards: this.state.PayBankCards, userInfo: this.state.userInfo, checkbox: PageDM.checkbox}), 

	                    React.createElement("span", {className: "angle angle-top"}), 
	                    React.createElement("span", {className: "angle angle-bottom"})
	                )
	            )
	        )
	    }
	});
	module.exports = Step1;

/***/ },
/* 37 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by DuHuiling on 2017/4/24.
	 */
	var HyperLink = __webpack_require__(19);
	var Label = __webpack_require__(6);
	var FormItem = __webpack_require__(5);
	var Input = __webpack_require__(4);
	var Password = __webpack_require__(22);
	var SelectDropDown = __webpack_require__(26);
	var Button = __webpack_require__(3);
	var Checkbox = __webpack_require__(8);

	var BackAccount = React.createClass({displayName: "BackAccount",
	    getInitialState:function(){
	        return {
	            PayBankCards: this.props.PayBankCards,
	            userInfo: this.props.userInfo,
	            url: this.props.url,
	            checkbox:this.props.checkbox
	        }
	    },
	    _change: function (v) {    //修改银行卡id
	        PageDM.PayBankCards.value.BankCardId = v.value;
	    },
	    componentDidMount:function(){
	        var _this = this;
	        //回款账户
	        UEventHub.on(PageDM.PayBankCards.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function (v) {
	            _this.setState({
	                PayBankCards:v
	            });
	        });
	        //身份信息
	        UEventHub.on(PageDM.userInfo.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function (v) {
	            _this.setState({
	                userInfo:v
	            });
	        });
	    },
	    render:function(){
	        var _this = this;

	        var options = [],BList = _this.state.PayBankCards;
	        for (var i=0; i< BList.BankAccountList.length;i++) {
	            var item = BList.BankAccountList[i];
	            options.push({
	                option: "<div><span class='bank-logo " + item.BankIconCss + "'></span><b>" + item.AccountNoShortHide + "</b></div>",
	                value: item.BankCode
	            });
	        }
	        var defaultValue = BList.SelectIndex - 1;

	        PageDM.PayBankCards.value.BankCardId = BList.BankAccountList[defaultValue].BankCode;    //初始银行卡id

	        return(
	            React.createElement("div", null, 
	                this.state.PayBankCards.Status == 1 ?
	                    React.createElement("div", null, 
	                        React.createElement("div", {className: "title"}, React.createElement("b", null), "身份信息", React.createElement("b", null)), 
	                        React.createElement("div", {className: "confirm-id fc-dark"}, 
	                            this.state.userInfo.realName !== undefined && this.state.userInfo.realName !== null ?
	                                React.createElement("p", null, "真实姓名：", this.state.userInfo.realName) : "", 
	                            
	                            this.state.userInfo.IDcard !== undefined && this.state.userInfo.IDcard !== null ?
	                                React.createElement("p", null, "身份证号码：", this.state.userInfo.IDcard) : ""
	                            
	                        )
	                    ) : "", 
	                

	                React.createElement("div", {className: "title"}, 
	                    React.createElement("b", null), "回款账户", React.createElement("b", null), 
	                    React.createElement("span", {className: "fc-main tips"}, React.createElement("i", {className: "iconfont icon-tips"}), "（温馨提示：您所选择的银行账户将用于支付投标款项和收取投标本金及收益）")
	                ), 

	                
	                    this.state.PayBankCards.Status == 1 ?
	                        React.createElement("div", null, 
	                            React.createElement("div", {className: "confirm-bank-con clearfix fc-dark"}, 
	                                React.createElement("span", {className: "f-left"}, "银行账户："), 
	                                React.createElement("div", {className: "f-left"}, 
	                                    React.createElement("div", {className: "form-group", ref: "test"}, 
	                                        React.createElement(SelectDropDown, {options: options, defaultValue: defaultValue, 
	                                                        onChange: _this._change.bind(this)})
	                                    )
	                                ), 
	                                React.createElement(HyperLink, {className: "bank-add", text: "<span><i className=\"iconfont icon-add\"></i>添加账户</span>", 
	                                           href: this.props.url.addCard})
	                            ), 
	                            React.createElement("div", {className: "confirm-bank-con fc-dark", style: {paddingLeft:"0"}}, 
	                                React.createElement(Label, {value: "手机号："}), this.state.PayBankCards.StayMobile, " ", React.createElement("span", {className: "fc-light"}, "（此号码用于接收您的投资提醒短信）")
	                            ), 
	                            this.state.PayBankCards.PrjectType == 1 ?
	                                React.createElement(FormItem, {label: "专属码：", dmbind: PageDM.ExclusiveNum.dmbind}, 
	                                    React.createElement(Input, {placeholder: "请输入项目专属识别码", dmbind: PageDM.ExclusiveNum.dmbind})
	                                ) : "", 
	                            
	                            React.createElement(FormItem, {label: "支付密码:", dmbind: PageDM.BussinessPwd.dmbind}, 
	                                React.createElement(Password, {placeholder: "请输入支付密码", dmbind: PageDM.BussinessPwd.dmbind})
	                            ), 
	                            React.createElement(FormItem, {label: "推荐码：", dmbind: PageDM.ReFree.dmbind}, 
	                                React.createElement(Input, {placeholder: "请输入推荐码", dmbind: PageDM.ReFree.dmbind})
	                            )
	                        ) :
	                    this.state.PayBankCards.Status == 2 ?
	                        React.createElement("div", {className: "confirm-bank-con clearfix fc-dark"}, 
	                            React.createElement("span", {className: "f-left"}, "您还没有绑定银行卡，赶紧"), 
	                            React.createElement(HyperLink, {className: "bank-add", text: "<span><i className=\"iconfont icon-add\"></i>添加账户</span>", 
	                                       href: this.props.url.addCard})
	                        ) : "", 
	                

	                React.createElement("div", {className: "confirm-agree"}, 
	                    React.createElement("div", {className: "check"}, 
	                        React.createElement(Checkbox, {text: " 我同意", checked: this.state.checkbox.checked, onclick: this.state.checkbox.onClick}), 
	                        React.createElement("a", {className: "fc-link", href: this.props.url.agreement}, "《绵阳市商业银行平台服务协议（个人版）》")
	                    ), 
	                    React.createElement("div", {className: "fc-light tip"}, 
	                        React.createElement("p", null, React.createElement("span", null, "*"), " ", React.createElement("b", null, "温馨提示"), "回款账户作为所有投资本金和收益的接收账户，仅限储蓄卡。"), 
	                        React.createElement("p", null, React.createElement("span", null, "*"), " ", React.createElement("b", null, "免责声明"), "预期收益率仅供参考，具体以实际发生收益为准。"
	                        )
	                    )
	                ), 
	                React.createElement("div", {className: "confirm-btn"}, 
	                    React.createElement(Button, {value: "确定购买", className: "ucs-btn-confirm btn-block", onclick: PageDM.btn.onClick})
	                )
	            )

	        )
	    }
	});
	module.exports = BackAccount;

/***/ },
/* 38 */
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by DuHuiling on 2017/4/24.
	 */

	var Breadcrumb = __webpack_require__(7);

	var Result = React.createClass({displayName: "Result",
	    getDefaultProps:function(){
	        return{
	            data:{},
	            url:{
	                home:"",
	                invest:"",
	                account:""
	            }
	        }
	    },
	    getInitialState: function () {
	        return {
	            result:this.props.data.value,
	            investSum:0//预期收益
	        }
	    },
	    investSumChangeHandler: function (v) {
	        var v = Number(v);
	        var val = Math.round((v * this.state.result.Interest / 100 / 360 * this.state.result.Duration) * 100) / 100;
	        this.setState({
	            investSum:val
	        });
	    },
	    componentDidMount:function(){
	        var _this = this;
	        //console.log(_this.props.data)
	        //支付结果
	        UEventHub.on(_this.props.data.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT, function(v){
	            //_this.updateResult(v);
	            _this.setState({
	                result:v
	            });
	            _this.investSumChangeHandler(v.OrderAmount);//初始预期收益
	        });
	    },
	    render: function () {
	        var _url = this.props.url;
	        return (
	            React.createElement("div", null, 
	                React.createElement(Breadcrumb, {	separator: ">"}, 
	                    React.createElement(Breadcrumb.Item, {href: _url.home}, "首页"), 
	                    React.createElement(Breadcrumb.Item, {href: _url.invest}, "我要投资"), 
	                    React.createElement(Breadcrumb.Item, null, "支付结果")
	                ), 

	                React.createElement("div", {class: "pay-result"}, 
	                    React.createElement("div", {class: "line"}), 
	                    this.state.result.orderType ?
	                        React.createElement("div", {class: "content"}, 
	                            React.createElement("h1", null, React.createElement("i", {class: "iconfont icon-success"}), " 订单提交成功，请稍后查看投资记录"), 
	                            React.createElement("div", {class: "detail"}, 
	                                React.createElement("h2", null, this.state.result.ProjectName), 
	                                React.createElement("ul", {class: "clearfix"}, 
	                                    React.createElement("li", {class: ""}, "投标金额"), 
	                                    React.createElement("li", null, "预期收益"), 
	                                    React.createElement("li", null, "还款时间"), 
	                                    React.createElement("li", null, this.state.result.OrderAmount + "元"), 
	                                    React.createElement("li", null, React.createElement("span", {class: "fc-main"}, React.createElement("strong", null, this.state.investSum)), " 元"), 
	                                    React.createElement("li", null, this.state.result.RepayBegin)
	                                )
	                            ), 
	                            React.createElement("div", {class: "button"}, 
	                                "您现在可以", React.createElement("a", {href: _url.account, class: "btn btn-confirm"}, "进入账户中心"), React.createElement("a", {href: _url.home, class: "btn btn-cancel"}, "返回首页")
	                            ), 
	                            React.createElement("div", {class: "fc-light tips"}, "如需查看更多投标信息，请进入您的账户中心查看！")
	                        ) :
	                        React.createElement("div", {class: "content"}, 
	                            React.createElement("h1", {class: "fc-main"}, React.createElement("i", {class: "iconfont icon-failure"}), " 抱歉，订单支付不成功"), 
	                            React.createElement("div", {class: "tips-failure"}, this.state.result.ErrorTips), 
	                            React.createElement("div", {class: "button"}, React.createElement("a", {href: "javascript:;", onclick: this.state.result.retry, class: "btn btn-cancel"}, "返回重试"))
	                        )
	                    
	                )
	            )
	        )
	    }
	});
	module.exports = Result;

/***/ }
/******/ ]);